@import "theme";
@import "animate";

.rx-head{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 26px 0;
  z-index: 999999;
  overflow: hidden;
  .rx-content{
    height: 70px;
    background-color: rgba(255, 255, 255, .96);
  }
  .logo{
    float: left;
    margin: 14px 0 0 30px;
  }
}
.rx-head-nav {
  float: left;
  padding: 26px 0 0 28px;
  .nav-item{
    display: inline-block;
    vertical-align: middle;
    margin: 0 22px;
  }
  a{
    color: @blue;
    letter-spacing: 2px;
    display: block;
    position: relative;
    padding-bottom: 2px;
    transition: all .3s ease-in-out;
    &.active{
      &:before{
        width: 100%!important;
      }
      &:after{
        width: 20px!important;
      }
    }
    &:hover{
      &:before{
        width: 100%;
      }
      &:after{
        width: 100%;
      }
    }
    &:after, &:before {
      width: 100%;
      height: 1px;
      content: '';
      display: block;
      position: absolute;
      left: 0;
      bottom: 0;
    }
    &:before{
      width: 0;
      background-color: @blue;
      transition: all .3s ease-in-out;
    }
    &:after{
      width: 0;
      background-color: @orange;
      transition: all .3s ease-in-out;
      transition-delay: .3s;
    }
  }
}
.rx-head-right{
  padding: 28px 30px 0 0;
  float: right;
  a{
    color: @blue;
    padding: 0 6px;
    margin: 0 6px;
    letter-spacing: 2px;
    transition: all .3s ease-in-out;
    &:hover{
      color: @orange;
    }
  }
  .language-link{
    margin-right: 10px;
  }
  .rect{
    width: 16px;
    height: 16px;
    background: url("../images/rx_rect01.png") no-repeat;
    display: inline-block;
    vertical-align: -3px;
    margin-right: 14px;
    position: relative;
    i{
      width: 18px;
      height: 1px;
      position: absolute;
      display: block;
      left: 9px;
      top: 7px;
      overflow: hidden;
      &:after{
        width: 100%;
        height: 1px;
        content: "";
        background-color: @orange;
        position: absolute;
        animation: yx_ani 3s infinite;
      }
    }
  }
}
